package com.ilarele.shopping.client.adaptors;

import com.ilarele.shopping.Product;

public class ProductComparatorPrice extends ProductComparator {

	@Override
	protected int getComparedValue(Product p1, Product p2) {
		return Float.compare(p1.pInfo.price, p2.pInfo.price);
	}

}
